#include "resource.h"

int Resource::getId()
{
    return m_id;
}
void Resource::setId(int id)
{
    m_id = id;
}
QStringList Resource::getHeaders()
{
    QStringList t("Id");
    return t;
}
QList<QTableWidgetItem*> Resource::getItems()
{
    QList<QTableWidgetItem*> r;
    r << new QTableWidgetItem(QString::number(getId()));
    return r;
}

